document.write('<link rel="stylesheet" href="/plugins/bootstrap/css/bootstrap.min.css">')
document.write('<link rel="stylesheet" href="/plugins/font-awesome/css/font-awesome.min.css">')
document.write('<link rel="stylesheet" href="/plugins/ionicons/css/ionicons.min.css">')
document.write('<link rel="stylesheet" href="/plugins/iCheck/square/blue.css">')
document.write('<link rel="stylesheet" href="/plugins/morris/morris.css">')
document.write('<link rel="stylesheet" href="/plugins/jvectormap/jquery-jvectormap-1.2.2.css">')
document.write('<link rel="stylesheet" href="/plugins/datepicker/datepicker3.css">')
document.write('<link rel="stylesheet" href="/plugins/daterangepicker/daterangepicker.css">')
document.write('<link rel="stylesheet" href="/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">')
document.write('<link rel="stylesheet" href="/plugins/datatables/dataTables.bootstrap.css">')
document.write('<link rel="stylesheet" href="/plugins/treeTable/jquery.treetable.css">')
document.write('<link rel="stylesheet" href="/plugins/treeTable/jquery.treetable.theme.default.css">')
document.write('<link rel="stylesheet" href="/plugins/select2/select2.css">')
document.write('<link rel="stylesheet" href="/plugins/colorpicker/bootstrap-colorpicker.min.css">')
document.write('<link rel="stylesheet" href="/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css">')
document.write('<link rel="stylesheet" href="/plugins/adminLTE/css/AdminLTE.css">')
document.write('<link rel="stylesheet" href="/plugins/adminLTE/css/skins/_all-skins.min.css">')
document.write('<link rel="stylesheet" href="/css/style.css">')
document.write('<link rel="stylesheet" href="/plugins/ionslider/ion.rangeSlider.css">')
document.write('<link rel="stylesheet" href="/plugins/ionslider/ion.rangeSlider.skinNice.css">')
document.write('<link rel="stylesheet" href="/plugins/bootstrap-slider/slider.css">')
document.write('<link rel="stylesheet" href="/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.css">')
document.write('<link rel="stylesheet" href="/plugins/font-awesome/css/font-awesome.min.css">')
document.write('<link rel="stylesheet" href="/css/style.css">')
document.write('<script src="/plugins/jQuery/jquery-2.2.3.min.js"></script>')
document.write('<script src="/plugins/common.js"></script>')

document.write('<script src="/js/vue.js"></script>')
document.write('<script src="/js/axios.js"></script>')

//根据传递过来的参数name获取对应的值
function getParameter(name) {
    //var reg = new RegExp("(^|&)id=([^&]*)(&|$)","i");
    //var r = location.search.substr(1).match(reg);
    //if (r!=null) return (r[2]); return null;

    var query = window.location.search.substring(1);
    var vars = query.split("&");
    for (var i=0;i<vars.length;i++) {
        var pair = vars[i].split("=");
        if(pair[0] == name){return pair[1];}
    }
    return(false);

}
